﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="Site.Master" CodeBehind="Pending.aspx.vb"
    Inherits="DotNetCore.BannerManagement.Pending" Title="Banner Management - Pending Advertisements" %>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:GridView ID="gvAdvertisements" runat="server" AutoGenerateColumns="false" DataKeyNames="ID" >
        <EmptyDataTemplate>
            There are no pending advertisements
        </EmptyDataTemplate>
        <Columns>
            <asp:CommandField HeaderText="Accept" ShowSelectButton="true" SelectText="Accept" />
            
                <asp:BoundField HeaderText="Name" DataField="Name" />
                <asp:BoundField HeaderText="URL" DataField="URL" />
                <asp:ImageField HeaderText="Banner Image" DataAlternateTextField="AlternateText"
                    DataImageUrlField="ID" DataImageUrlFormatString="../Advertisement/LoadBanner.aspx?ID={0}" />
                <asp:BoundField HeaderText="Alternate Text" DataField="AlternateText" />
                <asp:BoundField HeaderText="Start Date" DataField="StartDate" />
                <asp:BoundField HeaderText="End Date" DataField="EndDate" />
        </Columns>
    </asp:GridView>
    
</asp:Content>
